package com.jinfang.bankpractice.model;
import java.util.Date;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
/**
* 
*/
public class Quesbank implements java.io.Serializable { 
	private Integer id;	
	/** course*/
	private Integer  course;
	/** type*/
	private Integer  type;
	/** mark*/
	private Integer  mark;
	/** grade*/
	private Integer  grade;
	/** answer*/
	private String  answer;
	/** question*/
	private String  question;
	/** sa*/
	private String  sa;
	/** sb*/
	private String  sb;
	/** sc*/
	private String  sc;
	/** sd*/
	private String  sd;
	/** se*/
	private String  se;
	/** sf*/
	private String  sf;

	/** 默认构造器 */
	public Quesbank(){
		
	}

	/** 全构造器 */
	public Quesbank(
		Integer id,
		Integer course,
		Integer type,
		Integer mark,
		Integer grade,
		String answer,
		String question,
		String sa,
		String sb,
		String sc,
		String sd,
		String se,
		String sf) {
		super();
		this.id=id;
		this.course=course;
		this.type=type;
		this.mark=mark;
		this.grade=grade;
		this.answer=answer;
		this.question=question;
		this.sa=sa;
		this.sb=sb;
		this.sc=sc;
		this.sd=sd;
		this.se=se;
		this.sf=sf;
	}	
	
	/** 获得 id */
	public Integer  getId() { 
		return id; 
	}
	/** 设置 id */
	public void setId(Integer id){
		this.id=id;
	}	
	/** 获得 course */
	public Integer  getCourse() { 
		return course; 
	}
	/** 设置 course */
	public void setCourse(Integer course){
		this.course=course;
	}	
	/** 获得 type */
	public Integer  getType() { 
		return type; 
	}
	/** 设置 type */
	public void setType(Integer type){
		this.type=type;
	}	
	/** 获得 mark */
	public Integer  getMark() { 
		return mark; 
	}
	/** 设置 mark */
	public void setMark(Integer mark){
		this.mark=mark;
	}	
	/** 获得 grade */
	public Integer  getGrade() { 
		return grade; 
	}
	/** 设置 grade */
	public void setGrade(Integer grade){
		this.grade=grade;
	}	
	/** 获得 answer */
	public String  getAnswer() { 
		return answer; 
	}
	/** 设置 answer */
	public void setAnswer(String answer){
		this.answer=answer;
	}	
	/** 获得 question */
	public String  getQuestion() { 
		return question; 
	}
	/** 设置 question */
	public void setQuestion(String question){
		this.question=question;
	}	
	/** 获得 sa */
	public String  getSa() { 
		return sa; 
	}
	/** 设置 sa */
	public void setSa(String sa){
		this.sa=sa;
	}	
	/** 获得 sb */
	public String  getSb() { 
		return sb; 
	}
	/** 设置 sb */
	public void setSb(String sb){
		this.sb=sb;
	}	
	/** 获得 sc */
	public String  getSc() { 
		return sc; 
	}
	/** 设置 sc */
	public void setSc(String sc){
		this.sc=sc;
	}	
	/** 获得 sd */
	public String  getSd() { 
		return sd; 
	}
	/** 设置 sd */
	public void setSd(String sd){
		this.sd=sd;
	}	
	/** 获得 se */
	public String  getSe() { 
		return se; 
	}
	/** 设置 se */
	public void setSe(String se){
		this.se=se;
	}	
	/** 获得 sf */
	public String  getSf() { 
		return sf; 
	}
	/** 设置 sf */
	public void setSf(String sf){
		this.sf=sf;
	}	
	
	@Override
	public String toString() {
		return " Quesbank ["
				+" id=" + id	+" course=" + course	+" type=" + type	+" mark=" + mark	+" grade=" + grade
	+" answer=" + answer	+" question=" + question	+" sa=" + sa	+" sb=" + sb
	+" sc=" + sc	+" sd=" + sd	+" se=" + se	+" sf=" + sf

		+ "]\n";
	}

	@Override
	public int hashCode() {
		return id.intValue();
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Quesbank other = (Quesbank) obj;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		return true;
	}	
	
}
	
